import { createApp } from 'vue'

import App from './App.tsx'
import router from './router/index.ts'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { zhCn } from 'element-plus/es/locales.mjs'
import registerDirective from './shared/directives/index.ts'
import { createPinia } from 'pinia'

import 'ikun-pro-ui/dist/style.css'
import ikunProUi from 'ikun-pro-ui'
import './style.scss'
const app = createApp(App)
const pinia = createPinia()
app.use(router)
app.use(ElementPlus, {
	locale: zhCn
})
app.use(pinia)
app.use(ikunProUi)
app.use(registerDirective)
app.mount('#app')
